package com.user.service.impl;

import com.user.mapper.JobMapper;
import com.user.pojo.Job;
import com.user.service.JobService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class JobServiceImpl implements JobService {

    @Autowired
    private JobMapper jobMapper;
    @Override
    public List<Job> findAllJob() {
        return jobMapper.selectList(null);
    }
}
